package com.exchange.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName power
 */
@TableName(value ="power")
@Data
public class Power implements Serializable {
    /**
     * 电柜
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 属于那个位置的电柜
     */
    @TableField(value = "mid")
    private Long mid;
    /**
     * 电站名称
     * */
    @TableField(value = "power_name")
    private String powerName;
    /**
     * 该位置存在的电柜数量
     */
    @TableField(value = "count")
    private Integer count;

    /**
     *
     */
    @TableField(value = "remark")
    private Long remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
